package com.ruoyi.fpa.service;

import java.util.List;
import com.ruoyi.fpa.domain.GenReferenceColumn;

/**
 * 外键关联Service接口
 * 
 * @author koradji@116.com
 * @date 2023-09-17
 */
public interface IGenReferenceColumnService 
{
    /**
     * 查询外键关联
     * 
     * @param referenceColumnId 外键关联主键
     * @return 外键关联
     */
    public GenReferenceColumn selectGenReferenceColumnByReferenceColumnId(Long referenceColumnId);

    /**
     * 查询外键关联列表
     * 
     * @param genReferenceColumn 外键关联
     * @return 外键关联集合
     */
    public List<GenReferenceColumn> selectGenReferenceColumnList(GenReferenceColumn genReferenceColumn);

    /**
     * 新增外键关联
     * 
     * @param genReferenceColumn 外键关联
     * @return 结果
     */
    public int insertGenReferenceColumn(GenReferenceColumn genReferenceColumn);

    /**
     * 修改外键关联
     * 
     * @param genReferenceColumn 外键关联
     * @return 结果
     */
    public int updateGenReferenceColumn(GenReferenceColumn genReferenceColumn);

    /**
     * 批量删除外键关联
     * 
     * @param referenceColumnIds 需要删除的外键关联主键集合
     * @return 结果
     */
    public int deleteGenReferenceColumnByReferenceColumnIds(Long[] referenceColumnIds);

    /**
     * 删除外键关联信息
     * 
     * @param referenceColumnId 外键关联主键
     * @return 结果
     */
    public int deleteGenReferenceColumnByReferenceColumnId(Long referenceColumnId);
}
